Skip to content

dap: fix the check to determine whether exec will succeed#3701

Merged
tonistiigi merged 1 commit intodocker:masterfrom
jsternberg:dap-fix-can-invoke
Mar 17, 2026
Merged

dap: fix the check to determine whether exec will succeed#3701
tonistiigi merged 1 commit intodocker:masterfrom
jsternberg:dap-fix-can-invoke

Conversation

@jsternberg
Copy link
Collaborator

This refines the check for determining whether exec will succeed to work
when an error occurs. This check previously relied on the Ref being
populated in the result context but this would only happen if we were
paused from a breakpoint or by stepping. An error would not fill in this
field.

The check is now refined to use the new gateway filesystem exec API so
we can create the container and then check even if we don't have a
returned gateway reference. The logic to determine which mount to check
has also been moved.

@jsternberg jsternberg force-pushed the dap-fix-can-invoke branch 2 times, most recently from 57d9dc1 to 99f366e Compare March 6, 2026 19:53
@jsternberg jsternberg requested a review from tonistiigi March 6, 2026 20:04
@crazy-max crazy-max added this to the v0.33.0 milestone Mar 13, 2026
This refines the check for determining whether exec will succeed to work
when an error occurs. This check previously relied on the `Ref` being
populated in the result context but this would only happen if we were
paused from a breakpoint or by stepping. An error would not fill in this
field.

The check is now refined to use the new gateway filesystem exec API so
we can create the container and then check even if we don't have a
returned gateway reference. The logic to determine which mount to check
has also been moved.

Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
@tonistiigi tonistiigi merged commit 3b87097 into docker:master Mar 17, 2026
158 checks passed
@jsternberg jsternberg deleted the dap-fix-can-invoke branch March 17, 2026 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants